package com.css.fxfzypg.modules.spatialData.repository;

import com.css.fxfzypg.modules.spatialData.repository.entity.BoundaryEntity;
import com.css.fxfzypg.modules.spatialData.viewobjects.BoundaryQueryParams;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author andy
 * @date 2021-01-26
 */
public interface BoundaryNativeRepository {

    public List<BoundaryEntity> listBoundaries(BoundaryQueryParams queryParams);

    //ZYT--查询省市县所在区域边界列表
    public List<BoundaryEntity> newListBoundaries(BoundaryQueryParams queryParams);

    BoundaryEntity getBoundaryEntityByCode(String code);

    BoundaryEntity getBoundaryEntityByCountyCode(String code);

    Boolean getSTIntersects(String geomText, BigDecimal longitude, BigDecimal latitude);
}
